package com.tiancheng.onecode.model.request.admin;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * @Author: kellen
 * @Description: 用户注册
 * @Date: create in 2024/12/10 10:54
 */
@Data
public class UserRegisterReq {
    /**
     * 用户名
     */
    @NotBlank(message = "用户名称")
    private String userName;
    /**
     * 手机号
     */
    @NotBlank(message = "用户手机号")
    private String phone;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 密码
     */
    @NotBlank(message = "用户密码")
    private String password;
    /**
     * 确认密码
     */
    @NotBlank(message = "确认密码")
    private String confirmPassword;
}
